package com.ruoyi.yijing.mapper;

import java.util.List;
import com.ruoyi.yijing.domain.CustomerInfoAccount;

/**
 * 客户账号Mapper接口
 * 
 * @author ruoyi
 * @date 2024-02-03
 */
public interface CustomerInfoAccountMapper 
{
    /**
     * 查询客户账号
     * 
     * @param customerAccountUid 客户账号主键
     * @return 客户账号
     */
    public CustomerInfoAccount selectCustomerInfoAccountByCustomerAccountUid(Long customerAccountUid);

    public CustomerInfoAccount selectCustomerInfoAccount(CustomerInfoAccount account);

    /**
     * 查询客户账号列表
     * 
     * @param customerInfoAccount 客户账号
     * @return 客户账号集合
     */
    public List<CustomerInfoAccount> selectCustomerInfoAccountList(CustomerInfoAccount customerInfoAccount);

    /**
     * 新增客户账号
     * 
     * @param customerInfoAccount 客户账号
     * @return 结果
     */
    public int insertCustomerInfoAccount(CustomerInfoAccount customerInfoAccount);

    /**
     * 修改客户账号
     * 
     * @param customerInfoAccount 客户账号
     * @return 结果
     */
    public int updateCustomerInfoAccount(CustomerInfoAccount customerInfoAccount);

    /**
     * 删除客户账号
     * 
     * @param customerAccountUid 客户账号主键
     * @return 结果
     */
    public int deleteCustomerInfoAccountByCustomerAccountUid(Long customerAccountUid);

    /**
     * 批量删除客户账号
     * 
     * @param customerAccountUids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteCustomerInfoAccountByCustomerAccountUids(Long[] customerAccountUids);
}
